package com.ess.project.examine.grade.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ess.framework.web.domain.BaseEntity;
import lombok.*;

/**
 * @Description: 考核成绩
 * @Date: Created in 11:05 下午 2021/3/20
 * @Author: daihui
 * @Modified By:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("exam_grade")
public class ExamineGradeEntity extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer gradeId;

    /**
     * 序号
     */
    @ExcelProperty(index = 0)
    @TableField(exist = false)
    private Integer serialNumber;

    /**
     * 姓名
     */
    @ExcelProperty(index = 1)
    @TableField(value = "exam_personnel")
    private String examPersonnel;

    /**
     * 年龄
     */
    @ExcelProperty(index = 2)
    @TableField(value = "age")
    private Integer age;

    /**
     * 性别
     */
    @ExcelProperty(index = 3)
    @TableField(value = "gender")
    private String gender;

    /**
     * 体型
     */
    @ExcelProperty(index = 4)
    @TableField(value = "bodily_form")
    private String bodilyForm;

    /**
     * 3000米跑分数
     */
    @ExcelProperty(index = 5)
    @TableField(value = "three_km_score")
    private Integer threeKmScore;

    /**
     * 单杠/俯卧撑分数
     */
    @ExcelProperty(index = 6)
    @TableField(value = "horizontalbar_pushup_score")
    private Integer horizontalbarPushupScore;

    /**
     * 仰卧起坐分数
     */
    @ExcelProperty(index = 7)
    @TableField(value = "situp_score")
    private Integer situpScore;

    /**
     * 30米×2蛇形跑分数
     */
    @ExcelProperty(index = 8)
    @TableField(value = "snake_run_score")
    private Integer snakeRunScore;

    /**
     * 总分
     */
    @ExcelProperty(index = 9)
    @TableField(value = "total_score")
    private Object totalScore;

    /**
     * 成绩评定
     */
    @ExcelProperty(index = 10)
    @TableField(value = "grade_evaluation")
    private String gradeEvaluation;

    /**
     * 考核时间
     */
    @TableField(value = "exam_time")
    private String examTime;

    /**
     * 人员类别 一类人员/二类人员/三类人员
     */
    @TableField(value = "personnel_category")
    private String personnelCategory;

    @TableField(exist = false)
    private double score;
}
